package com.etlmaster.executor.steps.datax;

import com.etlmaster.executor.StepMeta;

/**
 * @author Larry
 * @copyright Larry@etlMaster
 * @since 2017-09-10
 */
public class DbWriterStepMeta extends StepMeta{

	private String dsName;
	private String targetTable;
	private String columns;
	private String concurrency;
	public DbWriterStepMeta(String id, String name,String step_code, String session_id, String paramStr) {
		super(id, name,step_code, session_id, paramStr);
	}

	@Override
	protected void loadParamsFromConfigTable() {
		// TODO Auto-generated method stub
		
	}

	public String getDsName() {
		return variableSubstitution(dsName);
	}

	public void setDsName(String dsName) {
		this.dsName = dsName;
	}

	public String getTargetTable() {
		return variableSubstitution(targetTable);
	}

	public void setTargetTable(String targetTable) {
		this.targetTable = targetTable;
	}


	public String getColumns() {
		return variableSubstitution(columns);
	}

	public void setColumns(String columns) {
		this.columns = columns;
	}

	public String getConcurrency() {
		return concurrency;
	}

	public void setConcurrency(String concurrency) {
		this.concurrency = concurrency;
	}

}
